﻿using System;
using RecipeProject.Model;

namespace RecipeProject.DataAccess
{
    /// <summary>
    /// Event arguments used by RecipeDatabase's RecipeAdded event.
    /// </summary>
    public class RecipeAddedEventArgs : EventArgs
    {
        public RecipeAddedEventArgs(Recipe newRecipe)
        {
            this.NewRecipe = newRecipe;
        }

        public Recipe NewRecipe { get; private set; }
    }
}